package com.wlyuan.open.dto.finance;

import com.alibaba.fastjson.JSONObject;
import com.wlyuan.open.dto.order.OrderFromDTO;
import com.wlyuan.open.dto.order.OrderRequirementDTO;
import com.wlyuan.open.dto.order.OrderToDTO;
import com.wlyuan.open.dto.order.OrderVehicleDTO;
import com.wlyuan.open.dto.transport.TransportDownDTO;
import com.wlyuan.open.dto.transport.TransportInfoDTO;
import com.wlyuan.open.dto.transport.TransportPriceDTO;
import com.wlyuan.open.dto.transport.TransportUpDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lijing
 * @description
 */
@Data
public class BillTransportDTO implements Serializable {
    private static final long serialVersionUID = 4157519719987872795L;
    private Long transportId;

    @ApiModelProperty("运输信息")
    private TransportInfoDTO info;

    @ApiModelProperty("发货人信息")
    private OrderFromDTO from;
    @ApiModelProperty("收货人信息")
    private OrderToDTO to;
    @ApiModelProperty("运输要求")
    private OrderRequirementDTO requirement;
    @ApiModelProperty("车辆信息")
    private OrderVehicleDTO vehicle;
    @ApiModelProperty("费用")
    private TransportPriceDTO cost;

    @ApiModelProperty("上游")
    private TransportUpDTO upStream;
    @ApiModelProperty("下游")
    private TransportDownDTO downStream;

    @ApiModelProperty("扩展信息")
    private JSONObject echo;
}
